package com.nsl.my_youlai.bbu2.convert.apparatus_room;

import com.nsl.my_youlai.bbu2.model.bo.ApparatusRoomBo;
import com.nsl.my_youlai.bbu2.model.entity.ApparatusRoomEntity;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface ApparatusRoomMapStructConverter {

    ApparatusRoomMapStructConverter INSTANCE = Mappers.getMapper(ApparatusRoomMapStructConverter.class);
    ApparatusRoomEntity bo2Entity(ApparatusRoomBo bo);

    ApparatusRoomBo entity2Bo(ApparatusRoomEntity entity);

    List<ApparatusRoomEntity> boList2EntityList(List<ApparatusRoomBo> boList);

    List<ApparatusRoomBo> entityList2BoList(List<ApparatusRoomEntity> entityList);


}
